package com.think.admin.web.mapper;

import com.think.admin.model.dto.role.RoleResourceDTO;
import com.think.common.enums.StateEnum;
import com.think.common.web.mapper.SuperMapper;
import com.think.dao.entity.RoleResource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色资源表 Mapper 接口
 * </p>
 *
 * @author xwj
 * @since 2019-04-08
 */
public interface RoleResourceMapper extends SuperMapper<RoleResource> {

    /**
     * 角色资源列表
     *
     * @param stateEnum
     * @return java.util.List<com.think.admin.cient.dto.role.RoleResourceDTO>
     * @author xwj
     * @data 2019/5/6
     */
    List<RoleResourceDTO> selectRoleResource(@Param("stateEnum") StateEnum stateEnum);
}
